Recently caused by character encoding problems very headache, many encoding methods can be described as "familiar with the unknown", gb2312, ANSI, UTF-8, Unicode .... So calm down and study hard.
References:
Http://www.ruanyifeng.com/blog/2007/10
I. ASCII codeWe know that in a computer, all information is eventually represented as a binary string. Each binary bit has two states: 0 and 1. Therefore, eight binary bits can combine 256 states, which is called a byte ). That is to say, a single
What is a character set? What is encoding?
Character (Character) is the general name of words and symbols, including text, graphic symbols, mathematical symbols and so on.
A set of abstract characters is the character set (Charset).
Character
I believe you must have met, open a Web page, but show a heap of like garbled, such as "бїяазъся", "????????"? Remember the message header fields Accept-charset, accept-encoding, Accept-language, content-encoding, content-language in HTTP? And
Character encoding: ASCII, Unicode, UTF-8, gb2312
1. ASCII code
We know that in a computer, all information is eventually represented as a binary string. Each binary bit has two states: 0 and 1. Therefore, eight binary bits can combine 256
Character encoding: ASCII, Unicode, UTF-8, gb2312
1. ASCII code
We know that in a computer, all information is eventually represented as a binary string. Each binary bit has two states: 0 and 1. Therefore, eight binary bits can combine 256
At noon today, I suddenly wanted to figure out the relationship between Unicode and UTF-8, so I began to look up information online.
As a result, this problem is more complicated than I thought. After lunch, we can see that the problem is fixed at
ArticleSource http://www.ruanyifeng.com/blog/2007/10/ascii_unicode_and_utf-8.html
At noon today, I suddenly wanted to figure out the relationship between Unicode and UTF-8, so I began to look up information online.
As a result, this problem
From:
Http://www.ruanyifeng.com/blog/2007/10/ascii_unicode_and_utf-8.html
At noon today, I suddenly wanted to figure out the relationship between Unicode and UTF-8, so I began to look up information online.
As a result, this problem is more
At noon today, I suddenly wanted to figure out the relationship between Unicode and UTF-8, so I began to look up information online.
As a result, this problem is more complicated than I thought. After lunch, we can see that the problem is fixed at
The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion;
products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the
content of the page makes you feel confusing, please write us an email, we will handle the problem
within 5 days after receiving your email.
If you find any instances of plagiarism from the community, please send an email to:
info-contact@alibabacloud.com
and provide relevant evidence. A staff member will contact you within 5 working days.